package com.monkey.thread;


import java.util.concurrent.TimeUnit;

public class MyThread extends Thread {
    static int i = 0;


    @Override
    public void run() {
        for (int j = 0; j < 1000; j++) {
            i++;
        }
        System.out.println(i);
    }

}
